Bookly\Lib\Utils\Common B

Total Complexity 81
Dependencies 9
Dependents 70
Total lines 548
Lines of code 284
Logical lines of code 128
Comment lines 174
Methods 30
Properties 1

Methods 30

Method Rating Maintainability Complexity Lines of code
getGateways()
S
51 6 27
noCache()
S
62 6 13
getDurationSelectOptions()
S
52 5 26
getServiceDataForDropDown()
S
52 5 25
cancelAppointmentRedirect()
S
58 5 16
postsHaveShortCode()
S
62 5 11
getAdminEmails()
S
55 4 18
getCurrentPageURL()
S
63 5 9
getCurrentUserTimeZone()
S
61 4 12
getEmailHeaders()
S
59 3 13
_xor()
S
63 3 9
isCurrentUserCustomer()
S
71 3 5
redirect()
S
58 1 21
getFilesystem()
S
67 2 7
getCsrfToken()
S
70 2 6
generateToken()
S
66 2 8
getRequiredCapability()
S
79 2 3
isCurrentUserStaff()
S
73 2 4
isCurrentUserSupervisor()
S
78 2 3
isCurrentUserAdmin()
S
78 2 3
prepareUrlReferrers()
S
64 2 10
escAdminUrl()
S
67 2 7
xorEncrypt()
S
78 1 3
xorDecrypt()
S
78 1 3
getTranslatedString()
S
77 1 3
getTranslatedOption()
S
78 1 3
disableEmoji()
S
68 1 7
stripScripts()
S
78 1 3
html()
S
81 1 3
css()
S
78 1 3